package com.jl.core.service;

import com.jl.config.PageModel;
import com.jl.core.model.resp.PopularizationResp;
import com.jl.core.model.resp.ProxyPlayerResp;
import com.jl.core.model.resp.ProxyResp;
import com.jl.model.resp.ExchangeResp;
import com.jl.model.resp.RebateDetailResp;
import com.jl.model.resp.RebateInfoResp;

public interface UserProxyService {
    PopularizationResp popularization();

    void addMyPlayer(Integer userId);

    ProxyPlayerResp player(Integer userId,Integer pageNumb, Integer pageSize);

    void bindInvCode(Integer code);

    String invCode();

    void upgrade(Integer userId,String proxyRate);

    ProxyResp myProxy(Integer userId, Integer pageNumb, Integer pageSize);

    void updateRate(Integer userId, String proxyRate);

    RebateInfoResp rebate(Long startDate, Long endDate);

    PageModel<RebateDetailResp> rebateDetail(Long startDate, Long endDate,String type,Integer pageNumb, Integer pageSize);

    ExchangeResp queryExchange(Integer pageNumb, Integer pageSize);

    void exchangeCoin(String coin,String rest);
}
